package com.xl.lib;



import com.badlogic.gdx.backends.android.AndroidApplication;

import android.os.Bundle;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;

public class HelloGameActivity extends AndroidApplication
{

	@Override
	public void log(String p1,String p2,Exception p3)
	{
		// TODO: Implement this method
	}

	@Override
	public void onCreate(Bundle savedInstanceState)
	{ 
		super.onCreate(savedInstanceState);
		AndroidApplicationConfiguration cfg = new AndroidApplicationConfiguration();
		cfg.useGL20 = true;
		
		initialize(new FirstGame(),cfg); 
		
	} 
	}
//	initialize(new FirstGame(), false);
	//就是启动游戏的关键，FirstGame是一个实现了ApplicationListener的类。代码如下
	
